-----------------------------------------
-- ID: 4219
-- Stone Quiver
-- When used, you will obtain one stack of Stone Arrows
-----------------------------------------

function onItemCheck(target)
    local result = 0;
    if (target:getFreeSlotsCount() == 0) then
        result = 308;
    end
    return result;
end;

function onItemUse(target)
    target:addItem(17330,99);
end;